package com.htpay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.htpay.model.entity.MerchantIncomeAct;

import java.util.List;

public interface IMerchantIncomeActService extends IService<MerchantIncomeAct> {

    /**
     * 查询商户收款账号 - 根据商户ID
     *
     * @param merchantId
     * @return
     */
    public List<MerchantIncomeAct> queryIncomeActListByMerchantId(Integer merchantId);

    /**
     * 新增商户收款账户
     *
     * @param merchantIncomeAct
     */
    public void addMerchantIncomeAct(MerchantIncomeAct merchantIncomeAct);

    /**
     * 停用商户收款账户
     * <p>
     * 根据具体的账号
     *
     * @param merchantId
     */
    public void stopMerchantIncomeAct(String payeeAct);

    /**
     * 删除商户收款账户
     * <p>
     * 根据具体账号
     *
     * @param merchantId
     */
    public void deleteMerchantIncomeAct(String payeeAct);

    /**
     * 根据付款账户查询当前收款账户信息
     *
     * @param payeeAct
     * @return
     */
    public MerchantIncomeAct getIncomeActByPayeeAct(String payeeAct);
}
